from django.conf.urls import url

from oauth import views

urlpatterns = [
    url(r'^qq/login/$', views.QQAuthURLView.as_view()),
    url(r'^oauth_callback/$', views.OauthCallBackView.as_view()),
    # 获取新浪登录页面连接
    url('^sina/login/$', views.SinaAuthURLView.as_view()),
    url('^sina_callback/$', views.SinaCallBackView.as_view()),

]
